package src.test.java.com.example.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 零件条码管理
 * </p>
 *
 * @author hej
 * @since 2022-11-09
 */
@TableName("mes_componet_sn")
@ApiModel(value = "ComponetSn对象", description = "零件条码管理")
public class ComponetSn implements Serializable {

    private static final long serialVersionUID = 1L;

      private Integer id;

    @ApiModelProperty("条码id")
    private Integer actId;

    @ApiModelProperty("条码号")
    private String actNo;

    @ApiModelProperty("零件物料id")
    private Integer materialId;

    @ApiModelProperty("零件料号")
    private String materialNo;

    @ApiModelProperty("零件名称")
    private String materialName;

    @ApiModelProperty("数量")
    private Integer qty;

    @ApiModelProperty("D/C")
    private String dc;

    @ApiModelProperty("L/C")
    private String lc;

    @ApiModelProperty("供应商编码")
    private String vendorCode;

    @ApiModelProperty("供应商名称")
    private String vendorName;

    @ApiModelProperty("供应商料号")
    private String vendorMaterailNo;

    @ApiModelProperty("来源")
    private Integer sourceType;

    @ApiModelProperty("创建时间")
    private Long createdDt;

    @ApiModelProperty("创建人code")
    private String creator;

    @ApiModelProperty("创建人id")
    private Integer creatorId;

    @ApiModelProperty("最后一次编辑时间")
    private Long lastEditedDt;

    @ApiModelProperty("最后一次编辑人code")
    private String lastEditor;

    @ApiModelProperty("最后一次编辑人id")
    private Integer lastEditorId;

    @ApiModelProperty("工厂代码")
    private String orgCode;

    @ApiModelProperty("是否删除")
    private Boolean isDeleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getActId() {
        return actId;
    }

    public void setActId(Integer actId) {
        this.actId = actId;
    }

    public String getActNo() {
        return actNo;
    }

    public void setActNo(String actNo) {
        this.actNo = actNo;
    }

    public Integer getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public String getDc() {
        return dc;
    }

    public void setDc(String dc) {
        this.dc = dc;
    }

    public String getLc() {
        return lc;
    }

    public void setLc(String lc) {
        this.lc = lc;
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode;
    }

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }

    public String getVendorMaterailNo() {
        return vendorMaterailNo;
    }

    public void setVendorMaterailNo(String vendorMaterailNo) {
        this.vendorMaterailNo = vendorMaterailNo;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Long getCreatedDt() {
        return createdDt;
    }

    public void setCreatedDt(Long createdDt) {
        this.createdDt = createdDt;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public Long getLastEditedDt() {
        return lastEditedDt;
    }

    public void setLastEditedDt(Long lastEditedDt) {
        this.lastEditedDt = lastEditedDt;
    }

    public String getLastEditor() {
        return lastEditor;
    }

    public void setLastEditor(String lastEditor) {
        this.lastEditor = lastEditor;
    }

    public Integer getLastEditorId() {
        return lastEditorId;
    }

    public void setLastEditorId(Integer lastEditorId) {
        this.lastEditorId = lastEditorId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "ComponetSn{" +
        "id=" + id +
        ", actId=" + actId +
        ", actNo=" + actNo +
        ", materialId=" + materialId +
        ", materialNo=" + materialNo +
        ", materialName=" + materialName +
        ", qty=" + qty +
        ", dc=" + dc +
        ", lc=" + lc +
        ", vendorCode=" + vendorCode +
        ", vendorName=" + vendorName +
        ", vendorMaterailNo=" + vendorMaterailNo +
        ", sourceType=" + sourceType +
        ", createdDt=" + createdDt +
        ", creator=" + creator +
        ", creatorId=" + creatorId +
        ", lastEditedDt=" + lastEditedDt +
        ", lastEditor=" + lastEditor +
        ", lastEditorId=" + lastEditorId +
        ", orgCode=" + orgCode +
        ", isDeleted=" + isDeleted +
        "}";
    }
}
